.app-main {
  margin: 0 auto;
  max-width: 1920px;
}
.the-header {
  margin-bottom: 24px;
  height: 80px;
  background: #fff;
  line-height: 80px;
  text-align: center;
  font-size: 18px;
  font-family: PingFang SC-Semibold, PingFang SC;
  font-weight: 600;
  color: #1D1F23;
}
.navbar {
  margin: 24px;
  padding: 20px 24px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  border-radius: 12px;
}
.navbar .search {
  background-color: #F5F5F5;
  width: 60%;
  line-height: 30px;
  padding-left: 15px;
}
.navbar .btns {
  display: table;
  word-spacing: -1em;
}
.navbar .btns a {
  display: inline-block;
  line-height: 30px;
  padding: 0 20px;
  background-color: #F5F5F5;
  word-spacing: 0;
}
.navbar .btns a:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.navbar .btns a:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.navbar .btns a.active {
  background-color: #0077FA;
  color: #fff;
}
.l_container {
  padding: 20px 24px;
  background: #fff;
  box-shadow: 0px 6px 26px -4px rgba(0, 0, 0, 0.06);
  opacity: 1;
  border-radius: 12px;
}
.l_container .l_c_header {
  margin-bottom: 20px;
  height: 24px;
  font-size: 16px;
  font-family: PingFang SC-Semibold, PingFang SC;
  font-weight: 600;
  color: #1D1F23;
  line-height: 24px;
}
.device-state {
  padding: 0 24px;
  display: grid;
  grid-template-columns: 34% 1fr;
  grid-column-gap: 24px;
}
.device-state .device-state-number {
  height: 216px;
}
.device-state .device-state-number .device-circle-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 132px;
}
.device-state .device-state-number .device-circle-list .device-circle-item {
  height: 132px;
  width: 90px;
}
.device-state .device-state-number .device-circle-list .device-circle-item .device-circle-item-chart {
  width: 90px;
  height: 90px;
}
.device-state .device-state-number .device-circle-list .device-circle-item .device-circle-item-info {
  margin-top: 10px;
  height: 20px;
  font-size: 14px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(28, 31, 35, 0.6);
  line-height: 20px;
  text-align: center;
}
.device-state .device-state-online {
  height: 216px;
}
.device-state .device-state-online .device-line-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 30px 30px;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  height: 132px;
}
.device-state .device-state-online .device-line-list .device-line-item {
  height: 60px;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  height: 20px;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-info .device-line-item-info-left {
  width: 50%;
  height: 20px;
  font-size: 14px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(28, 31, 35, 0.6);
  line-height: 20px;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-info .device-line-item-info-right {
  height: 20px;
  line-height: 20px;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-info .device-line-item-info-right .online {
  font-size: 14px;
  color: #1D1F23;
  font-weight: bolder;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-info .device-line-item-info-right .total {
  font-size: 12px;
  color: #1C1F23;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-progress {
  height: 8px;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-progress .progress-container {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(46, 50, 56, 0.09);
  overflow: hidden;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-progress .progress-container .progress-main {
  width: 50%;
  height: 8px;
  border-radius: 4px;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-progress .progress-container .progress-main#the-light {
  background: #FBDA32;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-progress .progress-container .progress-main#the-havc {
  background: #3295FB;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-progress .progress-container .progress-main#the-other {
  background: #ED487B;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-progress .progress-container .progress-main#the-curtain {
  background: #27C2B0;
}
.device-state .device-state-online .device-line-list .device-line-item .device-line-item-progress .progress-container .progress-main#the-sensor {
  background: #885BD2;
}
/*** 底部 图表 ***/
.device-chart {
  display: grid;
  grid-template-columns: 800px 1fr;
  grid-column-gap: 24px;
  padding: 24px;
}
.chart-left-container {
  margin-bottom: 24px;
  width: 800px;
  height: 360px;
}
.chart-right-container .tabbar .tabbar-inner {
  background-color: #F5F5F5;
  border-radius: 17px;
  line-height: 34px;
  margin-bottom: 10px;
}
.chart-right-container .tabbar .tabbar-inner li {
  flex: 1;
  text-align: center;
  border-radius: 17px;
}
.chart-right-container .tabbar .tabbar-inner li.active {
  background-color: #0077FA;
}
.chart-right-container .tabbar .tabbar-inner li.active a {
  color: #fff;
}
.chart-right-container .tabbar .tabbar-inner a {
  display: inline-block;
  line-height: 34px;
  width: 100%;
}
.chart-right-container .tabbar .auto-width {
  width: auto;
  margin: 0;
}
/***END***/
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-container .header-tabs {
  display: flex;
  justify-content: flex-end;
  width: 50%;
  height: 20px;
  margin-bottom: 20px;
}
.header-container .header-tabs-item {
  padding: 0 8px;
  height: 20px;
  line-height: 20px;
  font-size: 14px;
  font-family: PingFang SC-Semibold, PingFang SC;
  font-weight: 600;
  color: rgba(28, 31, 35, 0.35);
  cursor: pointer;
}
.header-container .header-tabs-line {
  height: 20px;
  width: 1px;
  box-shadow: inset 0px 0px 0px 1px #E5E5E5;
}
.chart-left-main {
  width: 752px;
  height: 290px;
}
.chart-left-main .work-chart {
  width: 752px;
  height: 290px;
}
.chart-right-main {
  width: 100%;
}
.chart-right-main .behavior-chart {
  width: 100%;
  height: 700px;
}
.shadow {
  width: 90px;
  height: 90px;
  position: relative;
  border-radius: 50%;
  background: conic-gradient(#3BB346 0%, #3BB346 50%, #3BB346 75%, #1d335c 75%, #1d335c 100%);
  mask: radial-gradient(transparent 40px, #000 40px);
  -webkit-mask: radial-gradient(transparent 40px, #000 40px);
}
.shadow::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0px;
  width: 10px;
  height: 10px;
  background: #3BB346;
  border-radius: 50%;
}
.shadow::after {
  content: '';
  position: absolute;
  left: -1px;
  top: 40px;
  width: 8px;
  height: 8px;
  background: #3BB346;
  border-radius: 50%;
}
